import { connect } from 'react-redux';
export default connect(
    state => {
        console.log(state);
        return {
            isLoading: state.loading,
            isHideen: state.isHidden
        };
    },
    dispatch => {
        return {
            loading: payload => {
                dispatch({ type: 'LOADING', payload });
            }
        };
    }
);
